#!/usr/bin/env python
# -*- coding: utf_8 -
import json
file = "make_data.json"
try:
	t = open(file).read()
	data=json.loads(t)
except Exception, e:
	with open(file) as flow:
	   data=flow.read()
	   data2 = data.replace('\n', '')
	   data3 = data2.replace(' ', '')
	   a = json.loads(data3)
	   with open(file, "w") as workflow:
	       writeData = json.dumps(a, sort_keys=True, indent=3)
	       workflow.write(writeData)

	t = open(file).read()
	data = json.loads(t)
print data
